module.exports = {
    devServer: {
        port: 8080, //本地服务器访问的端口
        proxy: {
            "^/rest": {
                target: "https://aip.baidubce.com",
                changeOrigin: true,
            },
            "^/oauth": {
                target: "https://aip.baidubce.com",
                changeOrigin: true,
            },
            "^/cssnmi": {
                target: "http://campaign.h5abc.com",
                secure: false,
                changeOrigin: true,
            },
            "^/tencentApi": {
                target: "https://ft.tencentcloudapi.com",
                secure: false,
                changeOrigin: true,
            },
        },
    },
};
